﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProBugTracker.Domain;

namespace ProBugTracker.Core.Interface
{
    public interface IRoleManager
    {
        bool AddNewRole(string roleName);
        bool EditRoleName(int roleID, string roleName);
        bool RemoveRole(int roleID);
        bool AddRolePermission(int roleID, int permissionID, DateTime permissionStartDate, DateTime permissionEndDate);
        IList<UserAssignRole> FindUserAssignRoleByUserID(int roleID);
    }
}
